import service from '@/utils/request';

export const countyList = (data) => { // 网点和县区关联订单列表
  return service({
    url: '/order/county/list',
    method: 'post',
    data: data
  })
}

export const userList = (data) => { // 用户和骑手关联订单列表
  return service({
    url: '/order/user/list',
    method: 'post',
    data: data
  })
}

export const riderList = (data) => { // 骑手和网点关联订单列表
  return service({
    url: '/order/rider/list',
    method: 'post',
    data: data
  })
}

export const order_county_list = (data) => { // 区县库存列表
  return service({
    url: '/order_statistics/county/list',
    method: 'post',
    data: data
  })
}

export const order_branches_list = (data) => { // 网点库存列表
  return service({
    url: '/order_statistics/branches/list',
    method: 'post',
    data: data
  })
}

export const order_rider_list = (data) => { // 骑手库存列表
  return service({
    url: '/order_statistics/rider/list',
    method: 'post',
    data: data
  })
}
